<template>
  <div class="attr-list">
    <CommonAttr />
    <px-form v-if="curComponent">
      <px-form-item label="内容">
        <px-input v-model="curComponent.propValue" type="textarea" :rows="3" />
      </px-form-item>
    </px-form>
  </div>
</template>

<script setup lang="ts">
import CommonAttr from "@visual/custom-component/common/CommonAttr.vue";
import { useComponent } from "@visual/stores";
import { storeToRefs } from "pinia";

const componentStore = useComponent();
const { curComponent } = storeToRefs(componentStore);
</script>
